﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="pdetail.aspx.cs" Inherits="BabyShop.CP.category_detail" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="add-comment contact-form boxed line-left">
    <div class="comment-form">                            
            <div class="add-comment-title"><h3>Thêm mới sản phẩm</h3></div>
            <div class="form-inner">
                <div class="info-boxes">                        
                    <!-- Alert -->
                    <div class="alert boxed alert-error fade in" runat="server" id="popup_error" visible="false">
                        <div class="alert-body">
                            <span>Thông báo:</span>
                            <p><asp:Label runat="server" id="error_message" Text="" /></p>
                        </div>
                        <span class="alert-label"></span>
                        <a data-dismiss="alert" class="close" href="#" hidefocus="true" style="outline: medium none;">close</a>
                    </div>
                    <!--/ Alert -->                    
                </div>
                <div class="field_text">
                    <asp:HiddenField Value="" ID="txtID" runat="server" />
                    <label class="label_title" for="name">Tên</label>
                    <asp:TextBox id="name" runat="server" CssClass="inputtext input_middle required" hidefocus="true" style="outline: medium none;" />
                </div>
                <div class="field_text omega">
                    <label class="label_title" for="import_from">Xuất xứ</label>
                    <asp:TextBox id="import_from" runat="server" CssClass="inputtext input_middle required" hidefocus="true" style="outline: medium none;" />
                </div>
                <div class="clear"></div>                
                <div class="field_select">
                <label class="label_title" for="category_id">Loại đồ chơi</label>
                <asp:DropDownList ID="category_id" runat="server" CssClass="select_styled">                    
                </asp:DropDownList>                
                </div>
                <div class="field_select omega">
                <label class="label_title" for="brand_id">Nhà sản xuất</label>
                <asp:DropDownList ID="brand_id" runat="server" CssClass="select_styled">                    
                </asp:DropDownList>                
                </div>
                <div class="clear"></div>                
                <div class="field_text">
                    <label class="label_title" for="quantity">Số lượng</label>
                    <asp:TextBox id="quantity" Text="0" runat="server" CssClass="inputtext input_middle required" hidefocus="true" style="outline: medium none;" />
                </div>
                <div class="field_text omega">
                    <label class="label_title" for="price">Giá</label>
                    <asp:TextBox id="price" Text="0" runat="server" CssClass="inputtext input_middle required" hidefocus="true" style="outline: medium none;" />
                </div>
                <div class="clear"></div>
                <div class="field_text">
                    <label class="label_title" for="sales">Giảm Giá</label>
                    <asp:TextBox id="sales" Text="0" runat="server" CssClass="inputtext input_middle required" hidefocus="true" style="outline: medium none;" />
                </div>
                <div class="clear"></div>
                <div class="field_text field_textarea">
                    <label class="label_title" for="message">Mô tả</label>
                    <asp:TextBox TextMode="MultiLine" runat="server" id="description" CssClass="textarea textarea_middle required" hidefocus="true" style="outline: medium none;"></asp:TextBox>
                </div>
                <div class="clear"></div>
                <div class="field_text">
                    <label class="label_title" for="image_path">Hình sản phẩm</label>
                    <asp:Image runat="server" ID="ShowImage" />
                    <asp:FileUpload id="image_path" runat="server" CssClass="inputtext input_middle required" hidefocus="true" style="outline: medium none;" />
                </div>
                <div class="clear"></div>               
            </div>
                              
            <div class="rowSubmit">
                <span class="btn">
                    <asp:Button runat="server" ID="btnAdd" Text="Lưu dữ liệu"  
                    style="outline: medium none;" CssClass="gradient" OnClick="btnAdd_click" />                    
                </span>
            </div>

    </div>
</div>                    
</asp:Content>
